package net.togogo.web.entity;

import java.io.Serializable;
import java.util.Date;

public class Question implements Serializable {
    private Integer id;

    private String title;

    private String question;

    private String user;

    private Date date;

    private String isxs;

    private Integer xsjf;

    private String type;

    private String technology;

    private String product;

    private Integer ancount;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user == null ? null : user.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getIsxs() {
        return isxs;
    }

    public void setIsxs(String isxs) {
        this.isxs = isxs == null ? null : isxs.trim();
    }

    public Integer getXsjf() {
        return xsjf;
    }

    public void setXsjf(Integer xsjf) {
        this.xsjf = xsjf;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTechnology() {
        return technology;
    }

    public void setTechnology(String technology) {
        this.technology = technology == null ? null : technology.trim();
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product == null ? null : product.trim();
    }

    public Integer getAncount() {
        return ancount;
    }

    public void setAncount(Integer ancount) {
        this.ancount = ancount;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", question=").append(question);
        sb.append(", user=").append(user);
        sb.append(", date=").append(date);
        sb.append(", isxs=").append(isxs);
        sb.append(", xsjf=").append(xsjf);
        sb.append(", type=").append(type);
        sb.append(", technology=").append(technology);
        sb.append(", product=").append(product);
        sb.append(", ancount=").append(ancount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}